package cn.starrysky108.simpleerp.pub.response;

import cn.starrysky108.simpleerp.user.vo.UserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Carl Lee
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("登录响应")
public class TokenResponse {
    @ApiModelProperty("用户信息")
    private UserVo user;

    @ApiModelProperty("正常的业务token")
    private String accessToken;

    @ApiModelProperty("刷新token")
    private String refreshToken;
}
